package com.msmall.community.user.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.msmall.base.model.BaseObject;

@Entity
@Table(name="base_user_setting")
public class UserSetting extends BaseObject{

	private static final long serialVersionUID = -1701489516670955785L;

	@Id
	@Column(name="setting_id",insertable=false,updatable=false)
	@GeneratedValue(strategy=GenerationType.AUTO)
	private Long settingid;
	
	@Column(name="user_id")
	private Long userid;
	
	@Column(name="property_key")
	private String propertyKey;
	
	@Column(name="property_value")
	private String propertyValue;

	public Long getSettingid() {
		return settingid;
	}

	public void setSettingid(Long settingid) {
		this.settingid = settingid;
	}

	public Long getUserid() {
		return userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

	public String getPropertyKey() {
		return propertyKey;
	}

	public void setPropertyKey(String propertyKey) {
		this.propertyKey = propertyKey;
	}

	public String getPropertyValue() {
		return propertyValue;
	}

	public void setPropertyValue(String propertyValue) {
		this.propertyValue = propertyValue;
	}

	@Override
	public boolean equals(Object o) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public int hashCode() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return null;
	}
	
	
}
